#include "frontend.h"


FrontEnd::FrontEnd(QObject *parent) :
    QObject(parent)
{
    qmlAsViewer = new QtQuick2ApplicationViewer;
    qmlAsContext = qmlAsViewer->engine()->rootContext();
    OBJ_QmlAdapter = new QmlAdapter(qmlAsContext);    
    qmlAsViewer->setMainQmlFile(QStringLiteral("qml/main.qml"));
    qmlAsViewer->showExpanded();

    //connect

}
